*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
}
/* 设置轮播组件占满整个屏幕 */
.image-slider {
  width: 100vw;
  height: 100vh;
}
/* 设置每个幻灯片占满父容器 */
.image-slider .slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all linear 0.8s;
  overflow: hidden;
}

/* 设置图片样式 */
.image-slider .image {
  /* 设置图片大小 */
  width: 100%;
  height: 100%;
  /* 图片自适应，保持比例占满屏幕 */
  object-fit: cover;
  /* 绝对布局，z-index 50放到文字下方 */
  position: absolute;
  z-index: 50;
}
/* 控制按钮 */
#prev,
#next {
  position: absolute;
  z-index: 150;
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: white;
  /* 居中 */
  text-align: center;
  line-height: 30px;

  /* 圆角 */
  border-radius: 50%;
  /* 背景 */
  background-color: rgba(0, 0, 0, 0.6);

  /* 在组件中的位置 */
  top: calc(50% - 24px);
  left: 50px;
  transition: all 0.2s;
  cursor: pointer;
}

/* 下一张按钮的位置，靠右 */
#next {
  left: unset;
  right: 50px;
  bottom: 30px;
}

/* 鼠标移到按钮上时改变背景和字体颜色 */
#prev:hover,
#next:hover {
  background-color: rgba(255, 255, 255, 0.6);
  color: black;
}

/* 隐藏其他幻灯片 */
.image-slider .slide {
  opacity: 0;
}

/* 设置当前正在播放的幻灯片的透明度为1 */
.image-slider .slide.current {
  opacity: 1;
}
/* 适配屏幕 */
@media screen and (max-width: 960px) {
  /* 文字占满屏幕 */
  .image-slider .slide {
    width: 100%;
  }

  /*隐藏按钮*/
  #prev,
  #next {
      display: none;
  }
.content{
    width: 50%;
    height: 50%;
  }
}
.container,.chat-content{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.container,.chat-content{
  position: absolute;
  /* 放在图片上方 */
  z-index: 100;
}
.content{/*登录容器*/
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 48px;
  text-align: center;
  width:300px;
  height:230px;
}
.register-cont{
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 48px;
  text-align: center;
  width:300px;
  height:320px;
}
#username,#passwd,#re-username,#re-passwd,#re-ack_passwd,#re-name{

  text-align: center;
  font-size: 20px;
  /*background-color: rgba(255,255,255,0.6);!*220,220,220背景色；0.2表示透明度*!*/
  /*    圆角边框*/
  /*border-radius: 10px;*/
  /*去掉边框样式*/
  background-color:transparent;
  border:0;
  border-bottom: solid 1px #fff;
  color: white;
}
.correct1,.correct2,.correct3,.correct4,.correct5{
  border-radius: 50%;
  width: 18px;
  background: #00DD60;
}
#button_login,#button_register{
  background-color: rgba(0,221,96,0.5);/*220,220,220背景色；0.2表示透明度*/
  cursor: pointer;
  border-radius: 10px;
}

#tab_item div{
  float: left;
  text-align: center;
  display: inline-block;
  cursor: pointer;
}

#login_tab,#register_tab{
  width: 50%;
  padding: 5px;
  font-size: 16px;
  color:#87CEFA;
  text-align: center;
  background-color: rgba(0,0,0,0.6);/*220,220,220背景色；0.2表示透明度*/
}
#tab_item div:hover{
  background: #00DD60;
  color: white;
}
#button_login:hover{
  background: #00DD60;
  color: white;
}
.chat-content{
  border:1px solid silver;
  width: 620px;
  height: 430px;
}
/*.head-portrait{*/
/*width: 20px;*/
/*  height: 20px;*/
/*}*/
/*左侧*/
.left-content{
  float: left;
  border:1px solid silver;
  width: 25%;
  height: 100%;
  background: silver;
}
/*右边*/
.right-content{
  float: right;
  width: 75%;
  height: 100%;
  border:1px solid silver;
  background: #fff;
}
.right-content .show-header{
    float: left;
    height: 8%;
    background: #17c2a4;
    text-align: center;
}
.show-header span{
  width: 30%;
  height: 100%;
  margin-top: 20px;
}
.right-content .chat-bd{
  height: 77%;
  overflow: auto;
}
.right-content .chat-bd,.right-content .show-header,.right-content .chat-text,.right-content .chat-file{
  width: 100%;
  border:1px solid silver;
}
.chat-file{
  height: 5%;
}
.chat-text .text{
  float: left;
  width: 80%;
  height: 100%;
  font-size: 16px;
}
.chat-text{
  height: 10%;
}
.chat-text .sendMsg{
  width: 20%;
  height: 100%;
}
.chat-bd .message-box{
  margin-top: 5px;
  margin-right: 5px;
  width: 100%;
  height: 50px;

}
.chat-bd .message-box .my.message{
  width: 100%;
  height: 100%;
}
.chat-bd .message-box .my .avatar{
  float: right;
  width: 30px;
  height: 30px;
}
.chat-bd .message-box .my .bubble_cont{
  float: right;
  max-width: 80%;
  margin-top: 5px;
  max-height: 100%;
  font-size: 14px;
  background: #b2e281;
}
#myTriangle {
  float: right;
  margin-top: 10px;
  line-height: 0px;/*为了防止ie下出现题型*/
  border-left: 5px solid #b2e281;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
}
#otherTriangle {
  float: left;
  margin-top: 17px;
  line-height: 0px;/*为了防止ie下出现题型*/
  border-right: 5px solid silver;;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
}
/*==============================*/
.chat-bd .message-box .other.message{
  width: 100%;
  height: 100%;
}
.chat-bd .message-box .other .avatar{
  float: left;
  width: 30px;
  height: 30px;
}
.chat-bd .message-box .other .user-nickname{
  float: left;
  width: 90%;
  height: 15px;
  font-size: 1px;
  display: block;
  color:silver ;
}
.chat-bd .message-box .other .bubble_cont{
  float: left;
  max-width: 80%;
  margin-top: 2px;
  margin-right: 5px;
  max-height: 100%;
  font-size: 14px;
  background: silver;
}
/*=============================*/
.chat-bd .message-box .system.message{
  width: 100%;
  height: 100%;
}
.chat-bd .message-box .system .bubble_cont{
  text-align: center;
  max-width: 80%;
  margin-right: 5px;
  height: 100%;
  font-size: 8px;
  color: grey;
}
.information{
  width: 100%;
  height: 25%;
  border-bottom: 1px solid white;
}
.head-portrait{
  float: left;
  width: 40%;
  margin-top: 5px;
  margin-left: 5px;
}
/*用户头像*/
.img.avatar_url{
  width: 100%;
}
.username,.nickname{
  float: right;
  width:50%;
  text-align: center;
}
.nickname{
  border-bottom: solid 1px #fff;
}
.username{
  margin-top: 15px;
}
/*用户名*/
.username span,.nickname span{
  width:100%
}
/*签名*/
.signature{
  float: left;
  width: 100%;
font-size: 2px;
  border-top:  1px solid white;
}
/*在线标题*/
.online-header{
  width: 100%;
  height: 5%;
  border-bottom: 1px solid white;
  text-align: center;
}
.online-list{
  width: 100%;
  height: 70%;
  background: #12f0e9;
  overflow: auto;
}
.left-content ul{
  display: block;
  width: 100%;
  height: 300px;

}
#user-ul{
  overflow:auto;
}
.user{
  display: block;
  width: 100%;
  height: 38px;
  cursor: pointer;
  border-bottom: 1px solid #26292e;
}
.user-list-photo{
  float: left;
  width: 20%;
  margin-left: 15px;
}
.user-list-name{
  float: right;
  width:60%;
  text-align: center;
}